package com.tang.lts.core.nio.codec;

import com.tang.lts.core.nio.channel.NioChannel;

import java.nio.ByteBuffer;
import java.util.List;

/**
 * @author Tang
 * @classname Decoder
 * @description [  ]
 * @date 2022/5/12 23:05
 */
public interface Decoder {

    List<Object> decoder(NioChannel channel, ByteBuffer in) throws Exception;

}
